#!/bin/bash
EOG=/usr/bin/eog
PDRIVE=~/bin/pdrive

if [ -z $1 ]; then
	echo "Param 1 should be a pdrive hash"
	exit 1
fi
$EOG `$PDRIVE media pathto --hash $1` &
